package com.lipaluma.example.clients.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="t_bankcard")
public class BankCard extends PaymentMean {
	private String cardNumber;
	private String cardType;
	@Temporal(TemporalType.DATE)
	private Date expirationDate;
	private Integer keyCode;
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public Date getExpirationDate() {
		return expirationDate;
	}
	public void setExpirationDate(Date expirationDate) {
		this.expirationDate = expirationDate;
	}
	public Integer getKey() {
		return keyCode;
	}
	public void setKey(Integer key) {
		this.keyCode = key;
	}
	
}
